-
Notifications
You must be signed in to change notification settings - Fork 120
[Woo POS][App Listings] ASC promo screenshots #16405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Woo POS][App Listings] ASC promo screenshots #16405
Conversation
|
|
Despite tests passing, the contents of the pos-payment screenshot was incorrect, as lands on the failure case for `checkOrderIsStillEligibleForPayment` when attempting to retrieve the order details, hence showing a “Error: unable to process payment. we could not fetch the latest order details” rather than the payment view. Despite passing the CPP mock in the POSTabCoordinator, we were never setting it in the test as a launch argument.
Since we run the notification screenshot the last one due to the UI test flow, when we run the create_promo lane then screenshot descriptions are miss-aligned with what they show which fails the job.
At the moment we intersect POS screenshots, but “product-add” screenshot happens as the 7th, while in screenshots.js is set to be the 4rth. This fails the create_promo job as cannot find the correct index along the screenshot name
initial attempt to set the screenshot landscape composition programmatically. might need iteration after checking the result artifacts
iPhone screenshots 4 and 5 are using the wrong text files because new POS screenshots are inserted into the sequence
|
For some reason, marking the PR as ready seems to have triggered the screenshots job again, Edit: Latest screenshots can be found here: https://github.com/woocommerce/woocommerce-ios/actions/runs/20289167160/job/58286405158?pr=16405 |
joshheald
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done for wrangling this, screenshots look good

Closes WOOMOB-1644
Description
This PR handles creating the new POS promotional screenshots and submitting them to the App Store through our existing fastlane automation.
Changes
fastfileto include the new mappingapp_store_screenshot->promo_screenshotscreenshots.jsonto include a new landscape device, mostly mapping the existing portrait one. These are mounted programmatically by pixel/pixel-offset, but there is no references anywhere, so was a bit of iteration to make them fit adequately:iPad
iPhones
Test Steps
WooCommerceScreenshots.testScreenshots()both in iPad and iPhone as your run destination, they should pass (some UI tests are a bit flaky, but on a second run they should normally pass correctly)https://github.com/woocommerce/woocommerce-ios/actions/runs/20289167160/job/58286405158?pr=16405underProcess screenshots> Archive promo screenshots > Download the artifacts to see all screenshots for all locales (the untranslated screenshots will show a placeholder rather than their text)Example for Spanish, where the POS appears in Spanish locale, and the metadata text is just untranslated placeholder:
RELEASE-NOTES.txtif necessary.